package com.ruoyi.banner.domain;

public class Banner {
    int id;
    String title;
    String pic;
    String target_url;

    public int getId() {
        return id;
    }


    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getTarget_url() {
        return target_url;
    }

    public void setTarget_url(String target_url) {
        this.target_url = target_url;
    }

    //这里重新toString 主要是为了等会展示比较方便， 否则打印出来是closs，看不懂

    @Override
    public String toString(){
        return "Banner{" +
                "id=" + id +
                "，sno=" + title +
                "，sname=" + pic +
                "，gender=" + target_url +
                "}";
    }




}

